package com.xvheng.module.merchantApi.domain;

import com.fasterxml.jackson.annotation.JsonProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.xvheng.common.annotation.Excel;
import com.xvheng.common.core.domain.BaseEntity;

/**
 * 商户对象 t_merchant
 * 
 * @author xvheng
 * @date 2024-06-21
 */
public class Merchant extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增ID */
    @JsonProperty(value="ID")
    private String ID;

    /** 类型，restaurant：餐饮；retail：零售；service：服务；other：其他 */
    @Excel(name = "类型，restaurant：餐饮；retail：零售；service：服务；other：其他")
    @JsonProperty(value="TYPE")
    private String TYPE;

    /** logo */
    @Excel(name = "logo")
    @JsonProperty(value="LOGO")
    private String LOGO;

    /** 商户号 */
    @Excel(name = "商户号")
    @JsonProperty(value="NO")
    private String NO;

    /** 商户名称 */
    @Excel(name = "商户名称")
    @JsonProperty(value="NAME")
    private String NAME;

    /** 联系人姓名 */
    @Excel(name = "联系人姓名")
    @JsonProperty(value="CONTACT")
    private String CONTACT;

    /** 联系电话 */
    @Excel(name = "联系电话")
    @JsonProperty(value="PHONE")
    private String PHONE;

    /** 联系地址 */
    @Excel(name = "联系地址")
    @JsonProperty(value="ADDRESS")
    private String ADDRESS;

    /** 微信小程序appId */
    @Excel(name = "微信小程序appId")
    @JsonProperty(value="wxAppId")
    private String wxAppId;

    /** 微信小程序秘钥 */
    @Excel(name = "微信小程序秘钥")
    @JsonProperty(value="wxAppSecret")
    private String wxAppSecret;

    /** 微信公众号appId */
    @Excel(name = "微信公众号appId")
    @JsonProperty(value="wxOfficialAppId")
    private String wxOfficialAppId;

    /** 微信公众号秘钥 */
    @Excel(name = "微信公众号秘钥")
    @JsonProperty(value="wxOfficialAppSecret")
    private String wxOfficialAppSecret;

    /** 备注信息 */
    @Excel(name = "备注信息")
    @JsonProperty(value="DESCRIPTION")
    private String DESCRIPTION;

    /** 状态，A：有效/启用；D：无效 */
    @Excel(name = "状态，A：有效/启用；D：无效")
    @JsonProperty(value="STATUS")
    private String STATUS;

    /** 最后操作人 */
    @Excel(name = "最后操作人")
    @JsonProperty(value="OPERATOR")
    private String OPERATOR;

    /** 0正常 1删除 */
    @Excel(name = "数据状态")
    @JsonProperty(value="DR")
    private String DR;

    public String getDR() {
        return DR;
    }

    public void setDR(String DR) {
        this.DR = DR;
    }

    public void setID(String ID)
    {
        this.ID = ID;
    }
//    @JsonProperty(value="ID")
    public String getID()
    {
        return ID;
    }
    public void setTYPE(String TYPE) 
    {
        this.TYPE = TYPE;
    }

    public String getTYPE() 
    {
        return TYPE;
    }
    public void setLOGO(String LOGO) 
    {
        this.LOGO = LOGO;
    }

    public String getLOGO() 
    {
        return LOGO;
    }
    public void setNO(String NO) 
    {
        this.NO = NO;
    }

    public String getNO() 
    {
        return NO;
    }
    public void setNAME(String NAME) 
    {
        this.NAME = NAME;
    }

    public String getNAME() 
    {
        return NAME;
    }
    public void setCONTACT(String CONTACT) 
    {
        this.CONTACT = CONTACT;
    }

    public String getCONTACT() 
    {
        return CONTACT;
    }
    public void setPHONE(String PHONE) 
    {
        this.PHONE = PHONE;
    }

    public String getPHONE() 
    {
        return PHONE;
    }
    public void setADDRESS(String ADDRESS) 
    {
        this.ADDRESS = ADDRESS;
    }

    public String getADDRESS() 
    {
        return ADDRESS;
    }
    public void setWxAppId(String wxAppId) 
    {
        this.wxAppId = wxAppId;
    }

    public String getWxAppId() 
    {
        return wxAppId;
    }
    public void setWxAppSecret(String wxAppSecret) 
    {
        this.wxAppSecret = wxAppSecret;
    }

    public String getWxAppSecret() 
    {
        return wxAppSecret;
    }
    public void setWxOfficialAppId(String wxOfficialAppId) 
    {
        this.wxOfficialAppId = wxOfficialAppId;
    }

    public String getWxOfficialAppId() 
    {
        return wxOfficialAppId;
    }
    public void setWxOfficialAppSecret(String wxOfficialAppSecret) 
    {
        this.wxOfficialAppSecret = wxOfficialAppSecret;
    }

    public String getWxOfficialAppSecret() 
    {
        return wxOfficialAppSecret;
    }
    public void setDESCRIPTION(String DESCRIPTION) 
    {
        this.DESCRIPTION = DESCRIPTION;
    }

    public String getDESCRIPTION() 
    {
        return DESCRIPTION;
    }
    public void setSTATUS(String STATUS) 
    {
        this.STATUS = STATUS;
    }

    public String getSTATUS() 
    {
        return STATUS;
    }
    public void setOPERATOR(String OPERATOR) 
    {
        this.OPERATOR = OPERATOR;
    }

    public String getOPERATOR() 
    {
        return OPERATOR;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ID", getID())
            .append("TYPE", getTYPE())
            .append("LOGO", getLOGO())
            .append("NO", getNO())
            .append("NAME", getNAME())
            .append("CONTACT", getCONTACT())
            .append("PHONE", getPHONE())
            .append("ADDRESS", getADDRESS())
            .append("wxAppId", getWxAppId())
            .append("wxAppSecret", getWxAppSecret())
            .append("wxOfficialAppId", getWxOfficialAppId())
            .append("wxOfficialAppSecret", getWxOfficialAppSecret())
            .append("DESCRIPTION", getDESCRIPTION())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("STATUS", getSTATUS())
            .append("DR", getDR())
            .append("OPERATOR", getOPERATOR())
            .toString();
    }
}
